
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>很抱歉，主机因存在有害信息已被阻断</title>
    <style type="text/css">
        <!--
        body {margin: 0px; padding:0px; font-family:"微软雅黑", Arial, "Trebuchet MS", Verdana, Georgia,Baskerville,Palatino,Times; font-size:16px;}
        div{margin-left:auto; margin-right:auto;}
        a {text-decoration: none; color: #1064A0;}
        a:hover {color: #0078D2;cursor: pointer}
        img { border:none; }
        h1,h2,h3,h4 {
            /*	display:block;*/
            margin:0;
            font-weight:normal;
            font-family: "微软雅黑", Arial, "Trebuchet MS", Helvetica, Verdana ;
        }
        h1{font-size:44px; color:#0188DE; padding:20px 0px 10px 0px;}
        h2{color:#0188DE; font-size:16px; padding:10px 0px 40px 0px;}
        #wrapper{width:100%;}
        #page{width:970px; padding:20px 20px 40px 20px; margin-top:80px;}

        .button{width:180px; height:28px; margin-left:0px; margin-top:10px; background:#009CFF; border-bottom:4px solid #0188DE; text-align:center;}
        .button a{width:180px; height:28px; display:block; font-size:14px; color:#fff; }
        .button a:hover{ background:#5BBFFF;}

        a.apply-btn {
            display: inline-block;
            width: 200px;
            height: 50px;
            line-height: 50px;
            background: #0188DE;
            font-size: 20px;
            color: #cdfff7;
            text-align: center;
        }
        .detail-info{
            padding: 10px 0;
            border: 1px solid red;
            height: auto;
            width: 400px;
            position: absolute;
            left: 0;
            top:21px;
            background: #fff;
            border-radius: 3px;
            display: none;
        }
        .active .detail-info{
            display: block;
        }
        .msg-item{
            padding:0 20px;
            line-height: 26px;
            font-size: 14px;
            color:#000;
        }
        .msg-item label{
            float:left;
            height: 26px;
            line-height: 26px;
            width:100px;
            text-align: right;
        }
        .msg-item div{
            overflow: hidden;
            line-height: 26px;
            word-wrap: break-word;
            word-break: break-all;
        }
        -->
    </style></head>

<body>

<div id="wrapper">
    <div id="page" style="border-style:dashed; border-color:#e4e4e4; line-height:30px; background:url(close.png) no-repeat right 76px;">
        <h1>抱歉，主机因存在疑似有害信息逾期未处理被关闭</h1>
        <h2>Sorry, the site now can not be accessed. </h2>
        <!--<font color="green">所访问网址:</font><font color="red" id="J_url"></font><br />-->
        <!--<font color="green">所含关键字:</font><font color="red" id="J_k"></font><br />-->
        <font color="green">被阻断的主机:</font><font color="red" id="J_hostName"></font><br /><br />
        <!--
                提示：因此网页含有有害关键字而被系统自动阻断，若您是网站<a href="javascript:void(0)" onclick="dosearch()">管理员</a> ，请及时将有害信息清除并加强网站的管理！<br> 多次出现非法信息的网站可能会被网监等部门要求强制关闭！<BR>

                <br>
                若您是本站<a href="javascript:void(0)" onclick="dosearch()">管理员</a>,清理非法信息完毕后，请<a id="J_gourl">点击此处</a>申请恢复访问。（若实际未清除，1小时后会被系统重新拦截）
                <br>
                非法关键词可能隐藏在网页中，用“查看源文件”功能可以搜索到。国内机房有非法关键词拦截功能，香港、美国机房不拦截。-->

        提示：经我司系统检测该网站上存在有害信息，且在我司发出通知以后24小时还未处理，所以现在主机已经被系统自动禁止访问，
        若您是网站<a href="javascript:void(0)" onclick="dosearch()">管理员</a>，可以<span  style="cursor:pointer;color:#1064A0;position: relative" href="javascript:;" onclick="dosearch()" _onclick="getDetailInfo(this)">
        【点击此处】<div class="detail-info" id="J_detailInfo"></div>
    </span>查看更多细节，
        也可以登录我司【业务管理-安全及监测-非法信息监测】内点击【解除锁定】自主恢复此主机的网站访问，并根据【详情】所列线索清除相关有害信息。
        <br><br>
        特别提醒：根据相关法律法规，网站主办者有义务和责任加强网站管理，杜绝有害信息通过互联网传播，
        希望您能加强网站管理，清除有害信息，同时采取必要措施杜绝有害信息再次出现，对多次出现有害信息的网站，有可能会被永久关闭。
        <!--<div style="margin-top: 30px;text-align: center"><a class="apply-btn" onclick="addWhiteList()">申请添加白名单</a></div>-->
    </div>

</div>
<script>
    function getUrlParams(key, urlStr) {
        urlStr = urlStr || window.location.search.replace(/^\?/, "");
        var regExp = /(&|^)([^=]+)=([^&]*)(&|$)/
        var matched = urlStr.match(regExp);
        var obj = {};
        while (matched) {
            obj[matched[2]] = matched[3];
            urlStr = urlStr.replace(matched[0], "");
            matched = urlStr.match(regExp);
        }
        return key ? obj[key] : obj;
    }
    var k = getUrlParams('k') || "";
    var url = getUrlParams('url') || "";
    // 获取详细信息
    var id = getUrlParams('id') || "";
    var hostName = getUrlParams('data') || "";
    var hasGetValue=false;
    document.getElementById('J_hostName').innerText = decodeURIComponent(hostName);
//    getDetailInfo();
    function addWhiteList() {
        location.href = "whitelist.html?url="+url;
    }

    function dosearch() {
//        return false;
        //从url解析出域名
//        url = decodeURIComponent(hostName);
//        url = url.split("/");
        location.href = 'http://unisec.vhostgo.com/search?q='+ hostName;
    }
    function abc(msgObj) {
        var msgArr = [];
        msgArr.push('<div class="msg-item"><label>有害信息数量：</label><div>'+msgObj.bcount+'条</div></div>');
        msgArr.push('<div class="msg-item"><label>安全员备注：</label><div>'+(decodeURIComponent(msgObj.mark)||"无")+'</div></div>');
        document.getElementById('J_detailInfo').innerText = msgArr.join('');
    }
    function getDetailInfo(dom) {
        if(!dom.className.match(/active/)){
            dom.className = dom.className + ' active';
        }else{
            dom.className = dom.className.replace(/active/,"");
        }
        if(hasGetValue){
            return;
        }
        hasGetValue=true;
        var infoScript = document.createElement("script");
        infoScript.src = "http://www.west.cn/web/illegal/api/data-for-info?id="+id;
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(infoScript, s);
    }
</script>
</body>
</html>
